﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001185 RID: 4485
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetRedPointStatusScNotify : IMessage<SetRedPointStatusScNotify>, IMessage, IEquatable<SetRedPointStatusScNotify>, IDeepCloneable<SetRedPointStatusScNotify>, IBufferMessage
	{
		// Token: 0x170038BB RID: 14523
		// (get) Token: 0x0600C8BB RID: 51387 RVA: 0x0021CF33 File Offset: 0x0021B133
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetRedPointStatusScNotify> Parser
		{
			get
			{
				return SetRedPointStatusScNotify._parser;
			}
		}

		// Token: 0x170038BC RID: 14524
		// (get) Token: 0x0600C8BC RID: 51388 RVA: 0x0021CF3A File Offset: 0x0021B13A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetRedPointStatusScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170038BD RID: 14525
		// (get) Token: 0x0600C8BD RID: 51389 RVA: 0x0021CF4C File Offset: 0x0021B14C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetRedPointStatusScNotify.Descriptor;
			}
		}

		// Token: 0x0600C8BE RID: 51390 RVA: 0x0021CF53 File Offset: 0x0021B153
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRedPointStatusScNotify()
		{
		}

		// Token: 0x0600C8BF RID: 51391 RVA: 0x0021CF68 File Offset: 0x0021B168
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRedPointStatusScNotify(SetRedPointStatusScNotify other) : this()
		{
			this.nDBFJANOIEK_ = other.nDBFJANOIEK_.Clone();
			this.contentId_ = other.contentId_;
			this.eBKKOGCANKJ_ = other.eBKKOGCANKJ_;
			this.pKBOAANHKHA_ = other.pKBOAANHKHA_;
			this.uid_ = other.uid_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C8C0 RID: 51392 RVA: 0x0021CFCD File Offset: 0x0021B1CD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRedPointStatusScNotify Clone()
		{
			return new SetRedPointStatusScNotify(this);
		}

		// Token: 0x170038BE RID: 14526
		// (get) Token: 0x0600C8C1 RID: 51393 RVA: 0x0021CFD5 File Offset: 0x0021B1D5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<LIBGKFBANIG> NDBFJANOIEK
		{
			get
			{
				return this.nDBFJANOIEK_;
			}
		}

		// Token: 0x170038BF RID: 14527
		// (get) Token: 0x0600C8C2 RID: 51394 RVA: 0x0021CFDD File Offset: 0x0021B1DD
		// (set) Token: 0x0600C8C3 RID: 51395 RVA: 0x0021CFE5 File Offset: 0x0021B1E5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ContentId
		{
			get
			{
				return this.contentId_;
			}
			set
			{
				this.contentId_ = value;
			}
		}

		// Token: 0x170038C0 RID: 14528
		// (get) Token: 0x0600C8C4 RID: 51396 RVA: 0x0021CFEE File Offset: 0x0021B1EE
		// (set) Token: 0x0600C8C5 RID: 51397 RVA: 0x0021CFF6 File Offset: 0x0021B1F6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EBKKOGCANKJ
		{
			get
			{
				return this.eBKKOGCANKJ_;
			}
			set
			{
				this.eBKKOGCANKJ_ = value;
			}
		}

		// Token: 0x170038C1 RID: 14529
		// (get) Token: 0x0600C8C6 RID: 51398 RVA: 0x0021CFFF File Offset: 0x0021B1FF
		// (set) Token: 0x0600C8C7 RID: 51399 RVA: 0x0021D007 File Offset: 0x0021B207
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PKBOAANHKHA
		{
			get
			{
				return this.pKBOAANHKHA_;
			}
			set
			{
				this.pKBOAANHKHA_ = value;
			}
		}

		// Token: 0x170038C2 RID: 14530
		// (get) Token: 0x0600C8C8 RID: 51400 RVA: 0x0021D010 File Offset: 0x0021B210
		// (set) Token: 0x0600C8C9 RID: 51401 RVA: 0x0021D018 File Offset: 0x0021B218
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x0600C8CA RID: 51402 RVA: 0x0021D021 File Offset: 0x0021B221
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetRedPointStatusScNotify);
		}

		// Token: 0x0600C8CB RID: 51403 RVA: 0x0021D030 File Offset: 0x0021B230
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetRedPointStatusScNotify other)
		{
			return other != null && (other == this || (this.nDBFJANOIEK_.Equals(other.nDBFJANOIEK_) && this.ContentId == other.ContentId && this.EBKKOGCANKJ == other.EBKKOGCANKJ && this.PKBOAANHKHA == other.PKBOAANHKHA && this.Uid == other.Uid && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C8CC RID: 51404 RVA: 0x0021D0B0 File Offset: 0x0021B2B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.nDBFJANOIEK_.GetHashCode();
			if (this.ContentId != 0U)
			{
				num ^= this.ContentId.GetHashCode();
			}
			if (this.EBKKOGCANKJ != 0U)
			{
				num ^= this.EBKKOGCANKJ.GetHashCode();
			}
			if (this.PKBOAANHKHA != 0U)
			{
				num ^= this.PKBOAANHKHA.GetHashCode();
			}
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C8CD RID: 51405 RVA: 0x0021D148 File Offset: 0x0021B348
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C8CE RID: 51406 RVA: 0x0021D150 File Offset: 0x0021B350
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C8CF RID: 51407 RVA: 0x0021D15C File Offset: 0x0021B35C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EBKKOGCANKJ != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.EBKKOGCANKJ);
			}
			this.nDBFJANOIEK_.WriteTo(ref output, SetRedPointStatusScNotify._repeated_nDBFJANOIEK_codec);
			if (this.Uid != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.Uid);
			}
			if (this.ContentId != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.ContentId);
			}
			if (this.PKBOAANHKHA != 0U)
			{
				output.WriteRawTag(120);
				output.WriteUInt32(this.PKBOAANHKHA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C8D0 RID: 51408 RVA: 0x0021D200 File Offset: 0x0021B400
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.nDBFJANOIEK_.CalculateSize(SetRedPointStatusScNotify._repeated_nDBFJANOIEK_codec);
			if (this.ContentId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ContentId);
			}
			if (this.EBKKOGCANKJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EBKKOGCANKJ);
			}
			if (this.PKBOAANHKHA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PKBOAANHKHA);
			}
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C8D1 RID: 51409 RVA: 0x0021D29C File Offset: 0x0021B49C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetRedPointStatusScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.nDBFJANOIEK_.Add(other.nDBFJANOIEK_);
			if (other.ContentId != 0U)
			{
				this.ContentId = other.ContentId;
			}
			if (other.EBKKOGCANKJ != 0U)
			{
				this.EBKKOGCANKJ = other.EBKKOGCANKJ;
			}
			if (other.PKBOAANHKHA != 0U)
			{
				this.PKBOAANHKHA = other.PKBOAANHKHA;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C8D2 RID: 51410 RVA: 0x0021D325 File Offset: 0x0021B525
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C8D3 RID: 51411 RVA: 0x0021D330 File Offset: 0x0021B530
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 42U)
				{
					if (num == 16U)
					{
						this.EBKKOGCANKJ = input.ReadUInt32();
						continue;
					}
					if (num == 42U)
					{
						this.nDBFJANOIEK_.AddEntriesFrom(ref input, SetRedPointStatusScNotify._repeated_nDBFJANOIEK_codec);
						continue;
					}
				}
				else
				{
					if (num == 48U)
					{
						this.Uid = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.ContentId = input.ReadUInt32();
						continue;
					}
					if (num == 120U)
					{
						this.PKBOAANHKHA = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005092 RID: 20626
		private static readonly MessageParser<SetRedPointStatusScNotify> _parser = new MessageParser<SetRedPointStatusScNotify>(() => new SetRedPointStatusScNotify());

		// Token: 0x04005093 RID: 20627
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005094 RID: 20628
		public const int NDBFJANOIEKFieldNumber = 5;

		// Token: 0x04005095 RID: 20629
		private static readonly FieldCodec<LIBGKFBANIG> _repeated_nDBFJANOIEK_codec = FieldCodec.ForMessage<LIBGKFBANIG>(42U, LIBGKFBANIG.Parser);

		// Token: 0x04005096 RID: 20630
		private readonly RepeatedField<LIBGKFBANIG> nDBFJANOIEK_ = new RepeatedField<LIBGKFBANIG>();

		// Token: 0x04005097 RID: 20631
		public const int ContentIdFieldNumber = 13;

		// Token: 0x04005098 RID: 20632
		private uint contentId_;

		// Token: 0x04005099 RID: 20633
		public const int EBKKOGCANKJFieldNumber = 2;

		// Token: 0x0400509A RID: 20634
		private uint eBKKOGCANKJ_;

		// Token: 0x0400509B RID: 20635
		public const int PKBOAANHKHAFieldNumber = 15;

		// Token: 0x0400509C RID: 20636
		private uint pKBOAANHKHA_;

		// Token: 0x0400509D RID: 20637
		public const int UidFieldNumber = 6;

		// Token: 0x0400509E RID: 20638
		private uint uid_;
	}
}
